package com.pig4cloud.pig.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.admin.api.entity.NewsList;
import com.pig4cloud.pig.admin.api.entity.PasswordList;

import java.util.List;

public interface NewsListService extends IService<NewsList> {

	String insertTest(PasswordList passwordList);

	Page getNewsListByPage(Page page, NewsList newsList);

	Page selectRandom(Page page, NewsList newsList);

    Integer batchInsert(List<NewsList> newsLists);
}
